<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2023/9/4
 * Time: 15:47
 */

namespace app\index\model;


use think\Model;

class CrmManageCall extends  Model
{
    public function getCallStatusAttr($value)
    {
        $status = [1=>'已通话',2=>'未接通'];
        return $status[$value];
    }

    public function getTimestampAttr($value)
    {
        return date('Y-m-d h:i:s',$value);
    }
}